 ///
 /// @file    derived1.cc
 /// @author  lemon(haohb13@gmail.com)
 /// @date    2016-03-14 09:56:00
 ///
 
#include <iostream>

using std::cout;
using std::endl;

class Base
{
public:
#if 1
	Base()
	: _ix(0)
	{
		cout << "Base()" << endl;
	}
#endif
	int _ix;
};

class Derived : public Base
{
public:
	Derived()
	{
		cout << "Derived()" << endl;
	}
	Derived(int ix)
	{
		cout << "Derived(int) " << endl;
	}
};

int main(void)
{
	Derived d1(3);
	cout << d1._ix << endl;
}
